<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下载示例</title>
</head>
<body>
    <div id="content"></div>
    <script>
        const $view = document.getElementById('content')
        const url = 'http://localhost:2020/download/readme_backup.txt'
        var $innerText = `<p>${url}<a href=${url} target="_blank">  点击下载文件</a></p>`
        $view.innerHTML = $innerText
    </script>
</body>
</html>